<?php

$includePath = realpath(dirname(__FILE__) . '/../src');
set_include_path($includePath . ':' . $includePath . '/PEAR');

require_once 'Pipes/Framework.php';
require_once 'Pipes/Config.php';
require_once 'Pipes/Route.php';

session_start();

$config = new Pipes_Config('PipesSample/sample.config.php');
$pipes = new Pipes_Framework($config);
echo $pipes->run(new Pipes_Route($config, $_SERVER['REQUEST_URI']));
